<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Content extends Model
{
    protected $table='content';
    public  $timestamps = false;
    protected $guarded = [];
    public function vol()
    {
        return $this->belongsTo('App\Vol', 'con_vid');
    }
    public function novel()
    {
        return $this->belongsTo('App\Novel', 'con_nid');
    }
}
